#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
int main()
{
	int i = 0;
	int a = 0;
	for (i = 100; i <= 200; i++)
	{
		int flag = 1;
		for (a = 2; a < i; a++)
		{
			if (i % a == 0)
			{
				flag = 2;
				break;
			}
		}
		if (flag == 1)
			printf("%d ", i);
	}
	return 0;
}